package com.example.qjia.ui.fragment;

import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;

import com.example.qjia.R;
import com.example.qjia.basic.BaseFragment;


public class SuggestionFragment extends BaseFragment {




    private EditText suggetion;
    private Button submitSuggetion;
    public SuggestionFragment() {

    }


    public static SuggestionFragment newInstance() {
        SuggestionFragment fragment = new SuggestionFragment();
        return fragment;
    }

    @Override
    public void init(View view) {
        suggetion=(EditText)view.findViewById(R.id.suggetion);
        submitSuggetion=(Button)view.findViewById(R.id.submit_suggetion);
        submitSuggetion.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                String suggestions=suggetion.getText().toString();
            }
        });

    }

    @Override
    public int getResourceId() {
        return R.layout.fragment_suggestion;
    }


}
